package com.hwj.service;

import com.github.pagehelper.PageInfo;
import com.hwj.entity.Role;

import java.util.List;

public interface RoleService {
    Role selectByPrimaryKey(Long id);
    List<Role> select();

    PageInfo<Role> page(Role role, Integer pageSize, Integer pageNum);

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);



    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

}
